﻿//  Created by Mathew Purchase.
//  Copyright (c) 2014 Mathew Purchase. All rights reserved.

using UnityEngine;
using System.Collections;

public class ChangeUIMenu : MonoBehaviour 
{

	//---------------------------------------------------------------------------------------------
	// Properties
	
	
	//---------------------------------------------------------------------------------------------
	// Members
	
	//---------------------------------------------------------------------------------------------
	// Events and Delegates
	
	
	//---------------------------------------------------------------------------------------------
	// Init

	
	//---------------------------------------------------------------------------------------------
	// Core Functions
	
    public void ChangeUI(GameObject obj)
    {
        this.gameObject.SetActive(false);
        if (obj != null)
            obj.SetActive(true);
    }
    
}
